/*
 *	Author: Vitaly Rozhkov
 *	vitaly.rozhkov@gmail.com
 *  http://bookvarius.livejournal.com
 *
*/

<javascriptresource>
<name>$$$/JavaScripts/DuplicateDocument/Menu=Duplicate document</name>
<about>$$$/JavaScripts/DuplicateDocument/About=Batch Helpers^r^rDuplicate document^r^rAuthor: Vitaly Rozhkov.^r^rvitaly.rozhkov(at)gmail(dot)com^r^rCreates a copy of current document and closes the original one.^rHandy to use in actions.</about>
<category>batch_helpers</category>
</javascriptresource>

#include "Batch Helpers/include/common.jsx"
#include "Batch Helpers/impl/DuplicateDocumentImpl.jsx"

Exec(function () {
	DuplicateDocument(app.activeDocument);
});



